﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Entity
{
    /// <summary>
    /// 账户
    /// </summary>
    public class Account:Base
    { 
        public string accountnumber { get; set; }/*账号*/
        public string password { get; set; }/*密码*/
        public string verify { get; set; }/*验证码*/
        public string retrieve { get; set; }/*找回*/
        public string register { get; set; }/*注册*/
        public string people { get; set; }/*人机验证*/
        public string name { get; set; }/*实名认证*/
        public string? email { get; set; }/*邮箱*/
        public string? hobby { get; set; }/*爱好*/
        public bool sex { get; set; }/*性别*/
        [Column("A02")]
        /// <summary>
        /// 是否被锁定
        /// </summary>
        public Boolean IsLock { get; set; }
        [Column("A03")]
        /// <summary>
        /// 是否删除
        /// </summary>
        public bool IsDelete { get; set; }
        [Column("A04")]
        /// <summary>
        /// 创建时间
        /// </summary>
        [Required]
        public DateTime CreatTime { get; set; }
    }
}
